package DesignPatern.A20_状态模式.QSB.A01_基础模式;

/**
 * @Author: Du
 * @Date: 2021/8/6 9:28
 */
public abstract class LiftState
{
    protected Context context;
    
    public Context getContext()
    {
        return context;
    }
    
    public void setContext(Context context)
    {
        this.context = context;
    }
    
    public abstract void open();
    
    public abstract void close();
    
    public abstract void run();
    
    public abstract void stop();
}
